package com.itheima.service;

import com.itheima.domain.store.QuestionItem;

import java.util.List;

//QuestionItem业务层
public interface QuestionItemService {
    //查找所有(要根据questionId查找)
    List<QuestionItem> findAll(String questionId);

    //新增
    void save(QuestionItem questionItem);
    //删除
    boolean deleteById(String id);
    //根据id查找对象并返回对象
    QuestionItem findById(String id);
    //更新
    void update(QuestionItem questionItem);


}
